<style>
  .headBar {
    display: flex;
    height: 100px;
    align-items: center;
  }
  .headBar .search-form {
    position: relative;
    width: 387px;
    height: 32px;
    border: 2px solid #fa2a83;
    margin-left: 50px;
    background-color: #fff;
    border-radius: 2px;
  }
  .headBar .search-form .search-input {
    width: 280px;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
    color: #333;
    border: none;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    padding: 2px 12px;
    background-color: #fff;
  }
  .headBar .search-form .search-icon {
    position: absolute;
    top: -1px;
    right: -1px;
    padding-top: 6px;
    width: 54px;
    height: 27px;
    text-align: center;
    background-color: #fa2a83;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .headBar .search-form .search-icon span {
    display: block;
    width: 20px;
    height: 20px;
    padding-left: 35px;
    background: url(./static/icon-search.png) center center no-repeat;
    background-size: 20px 24px;
  }
  .headBar .shopcart-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    line-height: 32px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #f6f7f9;
    border-radius: 2px;
    margin-left: 40px;
    padding: 0px 5px;
  }
  .headBar .shopcart-btn .shopcart-icon {
    display: block;
    width: 14px;
    height: 18px;
    background: url("./static/icon-shopcart.png") center left no-repeat;
    background-size: 15px 23px;
  }
  .headBar .shopcart-btn .txt {
    width: 38px;
    font-size: 12px;
    margin: 0 5px;
  }
  .headBar .shopcart-btn .pink-point {
    border-radius: 8px;
    height: 16px;
    width: 24px;
    line-height: 16px;
    color: #fff;
    text-align: center;
    background-color: #f00581;
    font-size: 12px;
  }
</style>
<header class="bancen" id="vip">
  <div class="headBar">
    <img class="vip-logo" src="./static/logo.png" style="cursor: pointer" width="160">
    <img src="./static/promise.jpg" width="303">
    <div class="search-form">
      <input class="search-input" placeholder="唯品会"/>
      <a class="search-icon">
        <span></span>
      </a>
    </div>
    <div class="shopcart-btn" onclick="drawer.showModel()">
      <span class="shopcart-icon"></span>
      <div class="txt">购物袋</div>
      <span class="pink-point">0</span>
    </div>
  </div>
</header>
<script>
  $('.vip-logo').on("click",function (){
    location.href="./index.html"
  })
</script>